package com.zja.dao;

import java.util.List;

/**
 * @author JA
 * @date: 2025/5/4
 * description:
 */
public interface KnowledgeBaseAdminDao {
    boolean addAdmin(Long knowledgeBaseId, Long userId);

    boolean removeAdmin(Long knowledgeBaseId, Long userId);

    List<Long> findAdminIdsByKnowledgeBaseId(Long knowledgeBaseId);

    boolean isUserAdmin(Long knowledgeBaseId, Long userId);
}
